package config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: lijinze
 * @createDate: 2020/7/28
 */
@Component
@ConfigurationProperties(prefix = "boy")
public class HelloProperties {
    private static final String NAME = "李金泽";
    private static final String DESC = "不经历风雨，怎能见彩虹";
    private String name = NAME;
    private String desc = DESC;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
